package com.jyh.fanxing;

import java.util.ArrayList;
import java.util.List;

/**
 * @Author JYH
 * @Date 2024/7/31 17:15
 * @Description
 */
public class TestComparable {
    public static void main(String[] args) {
        ArrayList<Student> student = new ArrayList<>();
        student.add(new Student("c徐坤",20,90.0));
        student.add(new Student("w子异",22,90.0));
        student.add(new Student("d真",20,99.0));
        student.add(new Student("w源",22,100.0));

        ComparableImpl comparable = new ComparableImpl();
        List<Student> students = comparable.lowScore(student);
        System.out.println("students = " + students);

    }
}
